import request from "../utils/request";

// 登录
export function login(data) {
  return request({
    url: `/login`,
    method: 'POST',
    data
  })
}

// 系统登出
export function loginOut() {
  return request({
    url: `/loginOut`,
    method: 'GET',
  })
}